package com.hup.sidebar.view;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.view.View;
import android.widget.CompoundButton;
import android.widget.SeekBar;
import android.widget.TextView;

import com.hup.sidebar.R;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * @author hugan
 * @date 2022/4/3
 */
@SuppressLint("NonConstantResourceId")
public class MainForm {
    static final int RESOURCE_ID = R.layout.main_activity;

    @BindView(R.id.btnGotoAccessibility)
    public TextView btnGotoAccessibility;
    @BindView(R.id.cbStartService)
    public CompoundButton cbStartService;
    @BindView(R.id.cbAutoStart)
    public CompoundButton cbAutoStart;
    /**
     * 白名单
     */
    @BindView(R.id.btnWhiteList)
    public TextView btnWhiteList;

    //===激活器
    @BindView(R.id.sbActiveWidth)
    public SeekBar sbActiveWidth;
    @BindView(R.id.sbActiveHeight)
    public SeekBar sbActiveHeight;
    @BindView(R.id.sbActiveYOffset)
    public SeekBar sbActiveYOffset;

    //===功能区
    @BindView(R.id.btnPieFunction)
    public View btnPieFunction;
    @BindView(R.id.btnPieColor)
    public View btnPieColor;
    @BindView(R.id.btnPieColorFont)
    public View btnPieColorFont;
    //
    @BindView(R.id.sbPieRadius)
    public SeekBar sbPieRadius;
    @BindView(R.id.sbPieWidth)
    public SeekBar sbPieWidth;
    @BindView(R.id.sbPieGap)
    public SeekBar sbPieGap;
    @BindView(R.id.sbPieIconRatio)
    public SeekBar sbPieIconRatio;
    @BindView(R.id.sbPieLongPressTime)
    public SeekBar sbPieLongPressTime;
    @BindView(R.id.cbPieVibrate)
    public CompoundButton cbPieVibrate;
    @BindView(R.id.sbVibrateTime)
    public SeekBar sbVibrateTime;
    @BindView(R.id.cbPieShowIndicator)
    public CompoundButton cbPieShowIndicator;

    //===便签
    @BindView(R.id.cbShowNote)
    public CompoundButton cbShowNote;
    @BindView(R.id.sbNoteFontSize)
    public SeekBar sbNoteFontSize;
    @BindView(R.id.cbNoteDateShow)
    public CompoundButton cbNoteDateShow;
    @BindView(R.id.txtNoteDateFormat)
    public TextView txtNoteDateFormat;

    //
    @BindView(R.id.cbShowTempHide)
    public CompoundButton cbShowTempHide;
    //
    @BindView(R.id.cbUseTrampoline)
    public CompoundButton cbUseTrampoline;

    MainForm(Activity activity) {
        ButterKnife.bind(this, activity);
    }
}
